<script lang="ts" setup></script>

<template>
  <div class="article">
    <div class="left">
      <div class="post-meta">
        <span>2010-10-10</span>
      </div>
      <h3 class="post-title">Flutter 动画转场欢迎屏 concentric_transition</h3>
      <div class="post-content">
        原文
        https://medium.com/flutterdevs/explore-concentric-transition-in-flutter-82ef4194d3d9
        代
      </div>
      <div class="post-footer">
        <n-button type="primary" ghost>Primary</n-button>
      </div>
    </div>
    <div class="right">
      <img src="../assets/logo.png" alt="" />
    </div>
  </div>
</template>

<style scoped lang="less">
.article {
  padding: 16px 20px 0;
  background: #fff;
  border-radius: 3px;
  box-shadow: 0 1px 2px rgb(151 151 151 / 58%);
  display: flex;
  justify-content: content;
  align-items: center;
  .post-meta {
    margin: 0 0 10px;
    line-height: 14px;
    font-size: 13px;
    font-weight: bold;
    color: #727272;
    overflow: hidden;
  }
  .post-title {
    margin: 0 0 16px;
  }
  .post-content {
    padding-bottom: 20px;
    line-height: 1.8;
  }
  .post-footer {
    margin: 0 -20px;
    padding: 12px 20px 8px;
    position: relative;
    border-top: 1px solid #ddd;
  }
  .left {
    flex: 10;
  }
  .right {
    flex: 2;
    text-align: center;
    img {
      width: 100px;
      height: 100px;
    }
  }
}
</style>
